package com.cctcq.domain;


import java.sql.Timestamp;

/**
 * GroupOrder entity. @author MyEclipse Persistence Tools
 */

public class GroupOrder implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -1424679922184497512L;
	private String groupOrderId;
	private TourGroup tourGroup;
	private BusinessOpportunity businessOpportunity;
	private String orderState;
	private Integer num;
	private Timestamp createDate;
	private String groupOrderDesc;
	private Integer validTime;
	private String bizCharger;
	private Boolean opchecked;
	private Timestamp opcheckedDate;
	private String opid;
	private String salesMan;
	private String remark;
	private String groupOrderCode;
	private String invoiceCode;

	// Constructors

	/** default constructor */
	public GroupOrder() {
	}

	/** minimal constructor */
	public GroupOrder(String groupOrderId, TourGroup tourGroup, Integer num,
			Timestamp createDate, Integer validTime, Boolean opchecked) {
		this.groupOrderId = groupOrderId;
		this.tourGroup = tourGroup;
		this.num = num;
		this.createDate = createDate;
		this.validTime = validTime;
		this.opchecked = opchecked;
	}

	/** full constructor */
	public GroupOrder(String groupOrderId,  
			TourGroup tourGroup, 
			BusinessOpportunity businessOpportunity, String orderState,
			Integer num, Timestamp createDate, String groupOrderDesc,
			Integer validTime, String bizCharger, Boolean opchecked,
			Timestamp opcheckedDate, String opid, String salesMan,
			String remark, String groupOrderCode, String invoiceCode) {
		this.groupOrderId = groupOrderId;
		this.tourGroup = tourGroup;
		this.businessOpportunity = businessOpportunity;
		this.orderState = orderState;
		this.num = num;
		this.createDate = createDate;
		this.groupOrderDesc = groupOrderDesc;
		this.validTime = validTime;
		this.bizCharger = bizCharger;
		this.opchecked = opchecked;
		this.opcheckedDate = opcheckedDate;
		this.opid = opid;
		this.salesMan = salesMan;
		this.remark = remark;
		this.groupOrderCode = groupOrderCode;
		this.invoiceCode = invoiceCode;
	}

	// Property accessors

	public String getGroupOrderId() {
		return this.groupOrderId;
	}

	public void setGroupOrderId(String groupOrderId) {
		this.groupOrderId = groupOrderId;
	}


	public TourGroup getTourGroup() {
		return this.tourGroup;
	}

	public void setTourGroup(TourGroup tourGroup) {
		this.tourGroup = tourGroup;
	}


	public BusinessOpportunity getBusinessOpportunity() {
		return this.businessOpportunity;
	}

	public void setBusinessOpportunity(BusinessOpportunity businessOpportunity) {
		this.businessOpportunity = businessOpportunity;
	}

	public String getOrderState() {
		return this.orderState;
	}

	public void setOrderState(String orderState) {
		this.orderState = orderState;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public String getGroupOrderDesc() {
		return this.groupOrderDesc;
	}

	public void setGroupOrderDesc(String groupOrderDesc) {
		this.groupOrderDesc = groupOrderDesc;
	}

	public Integer getValidTime() {
		return this.validTime;
	}

	public void setValidTime(Integer validTime) {
		this.validTime = validTime;
	}

	public String getBizCharger() {
		return this.bizCharger;
	}

	public void setBizCharger(String bizCharger) {
		this.bizCharger = bizCharger;
	}

	public Boolean getOpchecked() {
		return this.opchecked;
	}

	public void setOpchecked(Boolean opchecked) {
		this.opchecked = opchecked;
	}

	public Timestamp getOpcheckedDate() {
		return this.opcheckedDate;
	}

	public void setOpcheckedDate(Timestamp opcheckedDate) {
		this.opcheckedDate = opcheckedDate;
	}

	public String getOpid() {
		return this.opid;
	}

	public void setOpid(String opid) {
		this.opid = opid;
	}

	public String getSalesMan() {
		return this.salesMan;
	}

	public void setSalesMan(String salesMan) {
		this.salesMan = salesMan;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getGroupOrderCode() {
		return this.groupOrderCode;
	}

	public void setGroupOrderCode(String groupOrderCode) {
		this.groupOrderCode = groupOrderCode;
	}

	public String getInvoiceCode() {
		return this.invoiceCode;
	}

	public void setInvoiceCode(String invoiceCode) {
		this.invoiceCode = invoiceCode;
	}

}